def main():
    # 字典比较
    dict1 = {'b': 2,'a': 1}
    dict2 = {'a': 1, 'c': 2}  # 注意顺序不同但值相同
    print(dict1 == dict2)  # 输出: True


if __name__ == "__main__":
    main()
